<?php

App::uses('AppModel', 'Model');

class ConsultaEstadoDeCuenta extends AppModel
{
    var $useTable = false;
    protected $rfc;
    public $validate = array(
        'rfc' => array(
            'alphaNumeric' => array(
                'rule' => 'alphaNumeric',
                'required' => true,
                'message' => 'Letras y números solamente'
            ),
            'between' => array(
                'rule' => array('between', 10, 13),
                'message' => '10 - 13 caracteres'
            )
    ));

}
